package com.iotechn.unimall.mydata.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.iotechn.unimall.data.domain.SuperDO;
import lombok.Data;

@Data
@TableName("course_user")
public class User extends Super {

    private String email;

    private String password;

    private String name;

    private String nickname;

    /*
        学生or教师
        0代表学生 1代表教师
     */
    @TableField("login_type")
    private Integer loginType;

    private String phone;
}
